package com.junyidao.game.mapper;

import com.junyidao.game.pojo.SysRole;
import com.junyidao.game.util.MyMapper;

import java.util.List;
import java.util.Map;

/**
 * SysRoleMapper数据库操作接口类
 **/

public interface SysRoleMapper extends MyMapper<SysRole> {

    List<SysRole> getRoleByUid(Map<String, Object> map);

    List<SysRole> selectSysRole(SysRole role);

    void activateRole(Map<String, Object> map);

    void updatePartByPrimaryKey(SysRole sysRole);
}